﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace FloodFree.Common
{
    public class Sensor
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int SensorId { get; set; }
        public String SensorUUID { get; set; }
        public String Latitude { get; set; }
        public String Longitude { get; set; }
        public String Address { get; set; }
        public City City { get; set; }
        public List<SensorUpdate> Updates { get; set; }
        
    }
}
